using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for File
/// </summary>
public class File
{
    // class variables 
    int    intID;
    string strName;
    string strLocation;    
    string strDate;
    string strNotes;
    string strExtention;
    string strVersion;
    bool booIsPublic;
    

    // properties
    public int FileID { get { return intID; } }
    public string Name { get { return strName; } }
    public string Location { get { return strLocation; } }
    public string Date { get { return strDate; } }
    public string Notes { get { return strNotes; } }
    public string Extention { get { return strExtention; } }
    public string Version { get { return strVersion; } }
    public bool IsPublic { get { return booIsPublic; } }   
   

    // this is the only constructor
    public File(int id, string name, string location , string date, string notes, string extention, string version, bool isPublic)
	{
        intID = id;
        strName = name;
        strLocation = location;
        strDate = date;
        strNotes = notes;
        strExtention = extention;
        strVersion = version;
        booIsPublic = isPublic;
		
	}// end of the constructer
}// end of the class
